package com.teamall.web.sys.db.dao.mapper;

import com.teamall.web.sys.db.arg.SysUserArg;
import com.teamall.web.sys.db.po.SysUserPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ISysUserMapper {
    
    List<Integer> countByArg(SysUserArg arg);

    List<SysUserPO> selectByArg(SysUserArg arg);

    SysUserPO selectByPrimaryKey(Integer id);

    List<SysUserPO> selectByArgAndPage(SysUserArg arg, RowBounds rowBound);

    int insert(SysUserPO record);

    int insertSelective(SysUserPO record);

    int insertBatch(@Param("list") List<SysUserPO> records);

    int updateByArgSelective(@Param("record") SysUserPO record,
                             @Param("arg") SysUserArg arg);

    int updateByArg(@Param("record") SysUserPO record,
                    @Param("arg") SysUserArg arg);

    int updateByPrimaryKeySelective(SysUserPO record);

    int updateByPrimaryKey(SysUserPO record);
    
    int deleteByArg(SysUserArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}